<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Collection"%>
<%@page import="java.util.Iterator"%>
<%@page import="crm.util.ParamUtil"%>
<%@page import="crm.control.LinkmanControl"%>
<%@page import="crm.control.SaleareaControl"%>
<%@page import="crm.model.Linkman"%>
<%@page import="crm.model.Salearea"%>
<%@page import="java.util.*"%>
<%@page import="crm.util.GetBaseParam"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../resources/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="../../../resources/css/inner.css" type="text/css" media="screen" />
<style type='text/css'>
 a{font-size:12px; text-decoration:none; color:#70B300;}
</style>
		<link rel="stylesheet" type="text/css" href="../../../resources/css/jquery-check.css" />
		<script type="text/javascript" src="../../../resources/js/jquery-1.2.6.js"></script>
		<script type="text/javascript" src="../../../resources/js/jquery-check.js"></script>
		<title>linkman_add</title>
	</head>
	<script type="text/javascript"
		src="../../../resources/js/WebCalendar.js">
</script>
	<body>
		<%
			request.setCharacterEncoding("UTF-8");
			int customer_id = ParamUtil.getInt(request,"customer_id",0);
			
		%>
		<form id="formId" action="linkman_add_do.jsp?customer_id=<%=customer_id%>" method="post" >
			<table>
				<tr>
					<td>
						联系人姓名
					</td>
					<td>
						<input type="text" name="name" jType="china" />
					</td>
				</tr>
				<tr>
					<td>
						性别
					</td>
					<td >
						<input type="radio" name="gender" id="gender" value="1" checked />
						男
						<input name="gender" type="radio" id="gender" value="0" />
						女
					</td>
				</tr>
				<tr>
					<td>
						生日
					</td>
					<td>
						<input type="text" name="birthday" maxlength="20"
							onClick="SelectDate(this,'yyyy-MM-dd')"/>
					</td>
				</tr>
				<tr>
					<td>
						籍贯
					</td>
					<td>
						<select name="province_id">
							<%
								HashMap provinces = GetBaseParam.getAllProvinces();
								Iterator it1 = provinces.entrySet().iterator();
								while (it1.hasNext()) {
									Map.Entry entry = (Map.Entry) it1.next();
							%>
							<option value="<%=entry.getKey()%>"><%=entry.getValue()%></option>
							<%
								}
							%>
						</select>
					</td>
				</tr>
				<tr>
					<td>
						职位
					</td>
					<td>
						<input type="text" name="position"/>
					</td>
				</tr>
				<tr>
					<td>
						邮件
					</td>
					<td>
						<input type="text" name="email" />
					</td>
				</tr>
				<tr>
					<td>
						联系号码
					</td>
					<td>
						<input type="text" name="phone" />
					</td>
				</tr>
				<tr>
					<td>
						爱好
					</td>
					<td>
						<input type="text" name="hobby"/>
					</td>
				</tr>
				
				<tr>
					<td>
						qq号
					</td>
					<td>
						<input type="text" name="qq"/>
					</td>
				</tr>
				
				<tr>
					<td style='text-align: center;' colspan='2'>
						<input class='button' type="submit" value='提交'/>&nbsp;&nbsp;&nbsp;&nbsp;
						<input class='button' type="reset" value="重置" name="reset"/>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>